package se.liu.johfa428.game.objects.levelselection;

import se.liu.oschi129.animation.animationspace.AnimationSpace;
import se.liu.oschi129.world.objects.WorldStaticObject;

/**
 * The node, placed on the roade, in the level selection menu
 * @author johfa428
 *
 */
public class ObjectLevelSelectionNode  extends WorldStaticObject {


	public ObjectLevelSelectionNode(double x, double y) {
		super(Type.SOFT,  AnimationSpace.get("img_node"), true, x, y, 26/2,26/2);
	}

	public ObjectLevelSelectionNode(){
		this(0, 0);
	}
	
	public void centerPos(double dimX,double dimY){
		this.setX ((dimX / 2) - getWidth()/2);
		this.setY(dimY - getHeight());	
	}	
}
	

